<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Calculator</title>
    <script src="add.js" type="text/javascript"></script>
</head>
<body>
    <div align="center" style="margin-top:40px;">
        <img src="{{url_for('static', filename='add.png')}}" width="100" height="100" alt="">
    </div>

    <div align="center" style="margin-top:60px;">
        <form name="form1" method="POST">
            <input type="" placeholder="adder" name="adder1">
            <input type="text" placeholder="adder-2" name="adder2">=
            <input type="text" readonly="readonly" placeholder="result" name="result" value="{{result}}">
            <input type="submit" value="计算" onclick="add()">
        </form>
    </div>
</body>
</html>